JchOptimize\Core\Html\LinkBuilder A

Total Complexity 73
Dependencies 24
Dependents 4
Total lines 383
Lines of code 214
Logical lines of code 130
Comment lines 86
Methods 25
Properties 8

Methods 25

Method Rating Maintainability Complexity Lines of code
buildUrl()
A
48 10 31
replaceLinks()
A
46 9 36
createStaticFiles()
S
55 7 18
addDeferredJs()
S
61 5 12
getPreloadLink()
S
65 5 7
isGZ()
S
75 4 3
loadCssAsync()
S
65 3 9
postProcessHtml()
S
71 3 5
preProcessHtml()
S
71 3 5
getNewJsLink()
S
70 3 5
__construct()
S
60 2 13
appendAsyncScriptsToHead()
S
71 2 6
addExcludedJsToSection()
S
65 2 8
appendChildToHead()
S
65 2 8
cleanScript()
S
69 2 6
getFormattedHtmlAttribute()
S
77 2 3
setImgAttributes()
S
74 1 4
prependChildToHead()
S
73 1 4
getPreloadStyleSheet()
S
73 1 4
appendChildToHTML()
S
64 1 9
addJsLazyLoadAssetsToHtml()
S
71 1 5
getNewCssLink()
S
80 1 3
getPreconnectLink()
S
80 1 3
getModulePreloadLink()
S
80 1 3
addCriticalCssToHead()
S
73 1 4